var e = getApp();

Page({
    data: {
        money: 0,
        storeMessage: {}
    },
    onLoad: function(e) {
        e.money && this.setData({
            money: e.money
        });
        var n = wx.getStorageSync("storeMessage");
        n.store_name && this.setData({
            storeMessage: n
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {
        wxfaceapp.postMsg({
            targetAppid: e.data.accept_message_id,
            content: JSON.stringify({
                bolshow: !1,
                moneyBol: !0
            }),
            success: function(e) {},
            fail: function(e) {
                wx.showToast({
                    title: e.reply,
                    icon: "none",
                    duration: 2e3
                });
            }
        });
    },
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    cancelBtn: function() {
        wx.redirectTo({
            url: "/packageC/frogpro/storeManagement/storeManagement"
        });
    }
});